package com.hh.entity.vo;

import com.hh.entity.Student;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 学生登录VO
 * @author huxy
 * @since 2022-10-15 16:58:43
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StudentLoginVO extends Student {
    public StudentLoginVO copystudent(Student student){
        StudentLoginVO studentdto = new StudentLoginVO();
        studentdto.setBirthday(student.getBirthday());
        studentdto.setClassId(student.getClassId());
        studentdto.setCollegeId(student.getCollegeId());
        studentdto.setEnrollmentDate(student.getEnrollmentDate());
        studentdto.setGrade(student.getGrade());
        studentdto.setGraduateSchool(student.getGraduateSchool());
        studentdto.setLoginId(student.getLoginId());
        studentdto.setMajorId(student.getMajorId());
        studentdto.setNation(student.getNation());
        studentdto.setNativePlace(student.getNativePlace());
        studentdto.setSPhone(student.getSPhone());
        studentdto.setStudentId(student.getStudentId());
        studentdto.setStudentName(student.getStudentName());
        studentdto.setStudentSex(student.getStudentSex());
        studentdto.setStudentUid(student.getStudentUid());
        return studentdto;
    }
    private String fcode;
}

